//
//  WZLoginModel.swift
//  OfficeExaminationSwift
//
//  Created by Yeeewz on 2018/1/11.
//  Copyright © 2018年 Yeeewz. All rights reserved.
//

import UIKit
import ObjectMapper
class WZLoginModel:  Mappable{
    var result : String?
    var resultNote : String?
    var userInfo : WZUserInfoModel?
    required init?(map: Map) {
     
        if map.JSON["result"] == nil{
            return nil
        }
        if map.JSON["resultNote"] == nil{
            return nil
        }
        if map.JSON["userInfo"] == nil{
            return nil
        }
    }
    
    func mapping(map: Map) {
        result <- map["result"]
        resultNote <- map["resultNote"]
        userInfo <- map["userInfo"]
    }
}

